#include <string.h>
namespace CERT_MEMCMP_PADDED_DATA {

	namespace bad {
		struct s {
			char c;
			int i;
			char buffer[13];
		};

		void compare0(const struct s* left, const struct s* right) {
			if ((left && right) &&
				(0 == memcmp(left, right, sizeof(struct s)))) {
			}
		}
	}


	namespace good {
		struct s {
			char c;
			int i;
			char buffer[13];
		};

		void compare1(const struct s* left, const struct s* right) {
			if ((left && right) &&
				(left->c == right->c) &&
				(left->i == right->i) &&
				(0 == memcmp(left->buffer, right->buffer, 13))) {

			}
		}
	}
}